import request from '@/utils/request'

export function listPark22(query) {
  return request({
    url: '/park22/park22/list',
    method: 'get',
    params: query
  })
}
export function getid(id) {
  return request({
    url: '/park22/park22/' + id,
    method: 'get'
  })
}
export function insertpark22(data){
  return request({
    url:'/park22/park22',
    method:'post',
    data: data
  })
}
export function updatepark22(data){
  return request({
    url:'/park22/park22',
    method:'put',
    data: data
  })
}
export function deletepark22(id){
  return request({
    url:'/park22/park22/' + id,
    method:'delete',
  })
}
